package com.bml.architect.alibaba;



/**
 * @author: baiml
 * @Title: FeginTest
 * @ProjectName: 中台技术平台
 * @Depart 中台研发部
 * @Description:
 * @date: 2021/4/9 12:39
 */
public class FeginTest {

    public static void main(String[] args) {

        //基于json
        // encoder指定对象编码方式，decoder指定对象解码方式
//        RemoteService service = Feign.builder()
//                .encoder(new JacksonEncoder())
//                .decoder(new JacksonDecoder())
//                .options(new Request.Options(1000,3500))
//                .target(RemoteService.class,"http://localhost:8200/");
//
//        System.out.println(service.findUserById(12));


    }
}
